import 'package:amoy_ticket/utils/initialization/status_colors.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class InitThemeData {
  /// 初始化主题～～
  ThemeData themeData = ThemeData(
    // useMaterial3: true,
    brightness: Brightness.light,
    primaryColor: Color.fromARGB(255, 238, 58, 154),
    useMaterial3: true,
    extensions: <ThemeExtension<dynamic>>[
      StatusColors.light,
    ],

    appBarTheme: AppBarTheme(
      color: Colors.white,
      foregroundColor: Colors.black,
      centerTitle: true,
      elevation: 1,
      titleTextStyle: TextStyle(
          fontSize: 18.sp, fontWeight: FontWeight.bold, color: Colors.black),
    ),
    textTheme: TextTheme(
      bodyMedium: TextStyle(
        color: Colors.black,
        fontSize: 16,
        overflow: TextOverflow.ellipsis,
        // fontFamily: 'kaiti',
      ),
    ),
    textButtonTheme: TextButtonThemeData(
      style: ButtonStyle(
        textStyle: MaterialStateProperty.all(
          TextStyle(
            color: Colors.black,
            fontSize: 16,
            overflow: TextOverflow.ellipsis,
            // fontFamily: 'kaiti',
          ),
        ),
      ),
    ),
  );

  ///初始化
}
